package com.xuxiao.config;

import org.springframework.context.ApplicationEvent;

import java.util.HashMap;
import java.util.Map;

/**
 * @author xuxiao
 */
public class SpringEventForMessage  extends ApplicationEvent {


    private Map<String,Object> table;

    private String message;

    public SpringEventForMessage(Map<String,Object> table, String message){
        super(table);
        this.table = table;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public SpringEventForMessage(Object source) {
        super(source);
    }
}
